package com.cloud.music.dto.netease;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PlaylistDescUpdate {

    /**
     * 歌单id
     */
    @NotBlank(message = "歌单id不能为空")
    private String id;

    /**
     * 歌单描述
     */
    @NotBlank(message = "歌单描述不能为空")
    private String desc;
}
